home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Format CD 36
/
Amiga Format CD36 (1999-01-22)(Future Publishing)(GB)[!][issue 1999-02].iso
/
-seriously_amiga-
/
misc
/
megabook
/
storage
/
dialdata
/
termite.mbrx
< prev
next >
Wrap
Text File
|
1998-12-12
|
863b
|
40 lines
/*
** Termite Dialer for MegaBook 3
** By Tom Bampton
**
** © 1996 Eden Software
**
** This is the script run when the Dial Data option is selected from the
** Extras menu, please see the docs for creating your own script to dial
** through your terminal program.
*/
/*
Path to Termite, it's run if Termite isn't running
Change this to the path of your copy of Termite
*/
TermitePath = 'Dh1:Termite/Termite'
parse arg Number
/* Check if Termite is running, if not, run it */
if ~show('P', 'TERMITE.1') then do
address command
'run >nil: ' TermitePath
/* Wait for the ARexx port */
do 5 while ~show('P', 'TERMITE.1')
'sys:rexxc/waitforport TERMITE.1'
end
end
address 'TERMITE.1'
options results
/*
Because Termite has no DIAL arexx command, we'll send the ATDT command
straight to the modem.
*/
ClearTerminal
SerExpand 'ATDT' Number '\r'